package com.qidianit.mes.pojo.pro;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.qidianit.mes.pojo.Material;
import com.qidianit.mes.pojo.Unit;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @Description:
 * @Author: YanJiRan
 * @Date: 2025/9/19 - 下午4:13
 */
@Data
public class WorkflowProduct {
    private Long id;

    private Long workflowId;

    private String productCode;

    private String remarks;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime createTime;

    private String createBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime updateTime;

    private String updateBy;

    private Integer deleteFlag;

    private Material product;

    private Unit unit;
}
